home *** CD-ROM | disk | FTP | other *** search
-
-
-
- xxxxaaaaccccttttllll((((1111mmmm)))) xxxxaaaaccccttttllll((((1111mmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- xactl - extended accounting control
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- xxxxaaaaccccttttllll [_o_p_t_i_o_n_s...] _s_u_b_c_o_m_m_a_n_d
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _x_a_c_t_l command is used to query or modify extended accounting behavior
- on a running system. The particular operation to be performed is
- specified by _s_u_b_c_o_m_m_a_n_d, which may be in upper, lower or mixed case.
-
- The valid subcommands are:
-
- aaaalllllllloooowwwwnnnneeeewwww
- Permits any member of an array session to start a new array session
- using the _n_e_w_a_r_r_a_y_s_e_s_s(2) system call. The handle of the array
- session is specified with the ----aaaasssshhhh option. The user must be
- privileged to invoke this subcommand. Notice that it is normally
- the case that a member of an array session can invoke _n_e_w_a_r_r_a_y_s_e_s_s
- successfully; aaaalllllllloooowwwwnnnneeeewwww would be used to undo a previous rrrreeeessssttttrrrriiiiccccttttnnnneeeewwww
- subcommand.
-
- fffflllluuuusssshhhhaaaallllllllsssseeeessssssssiiiioooonnnnssss
- Similar to the fffflllluuuusssshhhhsssseeeessssssssiiiioooonnnn subcommand, except that accounting
- information for _a_l_l array sessions that are currently active will be
- flushed. The user must be privileged to invoke this subcommand.
-
- fffflllluuuusssshhhhsssseeeessssssssiiiioooonnnn
- Flushes any accounting information that has been accumulated for a
- particular array session. The handle of the array session is
- specified with the ----aaaasssshhhh option. If array session accounting is
- active (see _e_x_t_a_c_c_t(5)), then a record reporting the resource usage
- information that has been accumulated by the array session will be
- written. Array session accounting records that are written using
- this operation will be marked as "flushed" to indicate that
- subsequent records for the same array session may be forthcoming.
- Under normal circumstances, the resource usage for an array session
- only includes the resources used by processes that have already
- terminated; the flushed accounting data will not include the
- resources used by any members of the array session that are still
- running. The user must be privileged to invoke this subcommand.
-
- ggggeeeettttddddffffllllttttssssppppiiii
- Prints the current default Service Provider Information, which will
- be used to identify all array sessions that do not override the
- system default.
-
- ggggeeeettttddddffffllllttttssssppppiiiilllleeeennnn
- Prints the number of bytes of storage that is allocated to each new
- array session for Service Provider Information.
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- xxxxaaaaccccttttllll((((1111mmmm)))) xxxxaaaaccccttttllll((((1111mmmm))))
-
-
-
- ggggeeeettttssssaaaaffff
- Prints the current session accounting format (typically "1" or "2").
-
- ggggeeeettttssssppppiiii
- Prints the Service Provider Information associated with a particular
- array session. The handle of the array session is specified with
- the ----aaaasssshhhh option.
-
- ggggeeeettttssssppppiiiilllleeeennnn
- Prints the number of bytes of storage that have been allocated for
- Service Provider Information in a particular array session. The
- handle of the array session is specified with the ----aaaasssshhhh option.
-
- rrrreeeessssttttrrrriiiiccccttttnnnneeeewwww
- Restricts any member of an array session from starting a new array
- session using the _n_e_w_a_r_r_a_y_s_e_s_s(2) system call; any attempt to do so
- will result in an EPERM error. The handle of the array session is
- specified with the ----aaaasssshhhh option. This restriction can be removed
- later using the aaaalllllllloooowwwwnnnneeeewwww subcommand.
-
- sssseeeessssssssiiiioooonnnniiiinnnnffffoooo
- Prints any accounting information that has been accumulated for a
- particular array session. The handle of the array session is
- specified with the ----aaaasssshhhh option. If the array session's accounting
- information has been flushed, then the accumulated charged
- accounting data from the time of the last flush will also be
- printed. Note that if session accounting has not been enabled in
- the system, then most data will appear as "0".
-
- sssseeeettttddddffffllllttttssssppppiiii
- Set the default Service Provider Information that is to be assigned
- to any array session which has not set its own Service Provider
- Information. This will take effect immediately, even for running
- array sessions. For details on _S_P_I-_i_n_f_o, see "Specifying Service
- Provider Information" below. The user must be privileged to invoke
- this subcommand.
-
- sssseeeettttddddffffllllttttssssppppiiiilllleeeennnn
- Sets the number of bytes of storage that will be allocated to each
- new array session for Service Provider Information to the value
- specified by the ----lllleeeennnnggggtttthhhh option. The new length must be in the
- range of 0 to 1024. Note that once an array session has been
- created, it can change the amount of storage it has allocated for
- Service Provider Information with the sssseeeettttssssppppiiiilllleeeennnn subcommand or the
- _a_r_s_o_p system call. The user must be privileged to invoke this
- subcommand.
-
- sssseeeettttssssaaaaffff
- Sets the current session accounting format to the value specified by
- the ----ffffoooorrrrmmmmaaaatttt option. The new format must be either "1" or "2". All
- subsequent session accounting records that are generated by the
- kernel will be in the specified format. Note that the session
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- xxxxaaaaccccttttllll((((1111mmmm)))) xxxxaaaaccccttttllll((((1111mmmm))))
-
-
-
- accounting format is different than the service provider information
- format. The user must be privileged to invoke this subcommand.
-
- sssseeeettttssssppppiiii
- Set the Service Provider Information associated with a particular
- array session. The handle of the array session is specified with
- the ----aaaasssshhhh option. For details on specifying the new service provider
- information, see "Specifying Service Provider Information" below.
- The user must be privileged to invoke this subcommand.
-
- sssseeeettttssssppppiiiilllleeeennnn
- Changes the number of bytes of storage that is allocated for Service
- Provider Information in a particular array session. The handle of
- the array session is specified with the ----aaaasssshhhh option and the new
- length is specified with the ----lllleeeennnnggggtttthhhh option. The new length must be
- in the range of 0 to 1024. The user must be privileged to invoke
- this subcommand.
-
- GGGGEEEENNNNEEEERRRRAAAALLLL OOOOPPPPTTTTIIIIOOOONNNNSSSS
- The behavior of _x_a_c_t_l can be modified by the following options. They
- must be specified before the subcommand name. Options that are
- irrelevant to a particular subcommand will be silently ignored.
-
- ----aaaasssshhhh _h_a_n_d_l_e or ----hhhh _h_a_n_d_l_e
- For subcommands that act on a single array session, this specifies
- the handle of the specific array session. The default is to use the
- array session containing the process running _x_a_c_t_l.
-
- ----bbbbrrrriiiieeeeffff or ----bbbb
- Specifies that output should be briefer than normal, generally by
- omitting headers and other explanatory information. This would
- useful when _x_a_c_t_l is called from a script.
-
- ----ffffoooorrrrmmmmaaaatttt _f_m_t or ----ffff _f_m_t
- Specifies a format value. For the sssseeeettttssssaaaaffff subcommand, this would be
- the session accounting format, which must be either "1" or "2". For
- subcommands that involve service provider information, this
- specifies an explicit format to be used when parsing command line
- options and/or printing the service provider information (see below
- for more details). In this case, valid values are "0", "1" or "2".
-
- ----lllleeeennnnggggtttthhhh _l_e_n_g_t_h or ----llll _l_e_n_g_t_h
- For the sssseeeettttddddffffllllttttssssppppiiiilllleeeennnn and sssseeeettttssssppppiiiilllleeeennnn subcommands, this specifies the
- new length of the service provider information buffer. For
- subcommands that involve the service provider information itself,
- this specifies the number of bytes of service provider information
- that should actually be read or written for the array session. If
- this is less than the amount of storage allocated to the array
- session for service provider information, then any remaining storage
- will be padded with zeroes. In this case the default is to use
- exactly as many bytes as have been allocated to the array session
- for service provider information (see ggggeeeettttddddffffllllttttssssppppiiiilllleeeennnn and ggggeeeettttssssppppiiiilllleeeennnn).
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- xxxxaaaaccccttttllll((((1111mmmm)))) xxxxaaaaccccttttllll((((1111mmmm))))
-
-
-
- SSSSPPPPEEEECCCCIIIIFFFFYYYYIIIINNNNGGGG SSSSEEEERRRRVVVVIIIICCCCEEEE PPPPRRRROOOOVVVVIIIIDDDDEEEERRRR IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- The sssseeeettttssssppppiiii and sssseeeettttddddffffllllttttssssppppiiii subcommands allow the user to specify the
- service provider information associated with a particular array session
- or the default system settings, respectively. Because service provider
- information is typically made up of several free-format fields, it may
- take several command line options to fully specify it. For more
- information on service provider information, see _a_r_r_a_y__s_e_r_v_i_c_e_s(5).
-
- Both format 1 and format 2 service provider information are supported, as
- well as a "format 0", which indicates unformatted data. The format to be
- used can normally be inferred by _x_a_c_t_l from the current length of the
- array session's service provider information: a length of 64 implies
- format 1, a length of 128 implies format 2, and any other length implies
- "format 0". However, the ----ffffoooorrrrmmmmaaaatttt option can be used to explicitly force
- a particular format to be used.
-
- FFFFoooorrrrmmmmaaaatttt 0000 OOOOppppttttiiiioooonnnnssss
- These options are mutually exclusive with each other and incompatible
- with the Format 1 and Format 2 options.
-
- ----cccclllleeeeaaaarrrr
- Reset the service provider information to zeroes.
-
- ----ddddeeeeffffaaaauuuulllltttt
- Reset the service provider information to the system default (same
- as ----cccclllleeeeaaaarrrr for the sssseeeettttddddffffllllttttssssppppiiii subcommand).
-
- ----ffffiiiillllllll _b_y_t_e
- Fill the entire service provider information area with the value
- _b_y_t_e, an unsigned single-byte value.
-
- FFFFoooorrrrmmmmaaaatttt 1111 OOOOppppttttiiiioooonnnnssss
- These options are incompatible with the Format 0 options. They also
- cannot be specified if the current length of the affected service
- provider information area is less than 64 bytes. These options _c_a_n by
- specified for Format 2 as well.
-
- ----ccccoooommmmppppaaaannnnyyyy _s_t_r_i_n_g
- _s_t_r_i_n_g contains up to 8 bytes of (typically ASCII) data to be stored
- in the ssssppppiiii____ccccoooommmmppppaaaannnnyyyy field of the service provider information.
-
- ----iiiinnnniiiittttiiiiaaaattttoooorrrr _s_t_r_i_n_g
- _s_t_r_i_n_g contains up to 8 bytes of data to be stored in the
- ssssppppiiii____iiiinnnniiiittttiiiiaaaattttoooorrrr field of the service provider information.
-
- ----oooorrrriiiiggggiiiinnnn _s_t_r_i_n_g
- _s_t_r_i_n_g contains up to 16 bytes of data to be stored in the
- ssssppppiiii____oooorrrriiiiggggiiiinnnn field of the service provider information.
-
- ----ssssppppiiii _s_t_r_i_n_g
- _s_t_r_i_n_g contains up to 16 bytes of data to be stored in the ssssppppiiii____ssssppppiiii
- field of the service provider information.
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-
-
-
- xxxxaaaaccccttttllll((((1111mmmm)))) xxxxaaaaccccttttllll((((1111mmmm))))
-
-
-
- FFFFoooorrrrmmmmaaaatttt 2222 OOOOppppttttiiiioooonnnnssss
- These options are incompatible with the Format 0 options. They also
- cannot be specified if "-format 1" was specified, or if the current
- length of the affected service provider information area is less than 128
- bytes.
-
- ----jjjjoooobbbbnnnnaaaammmmeeee _s_t_r_i_n_g
- _s_t_r_i_n_g contains up to 32 bytes of data to be stored in the
- ssssppppiiii____jjjjoooobbbbnnnnaaaammmmeeee field of the service provider information.
-
- ----ssssuuuubbbbttttiiiimmmmeeee _t_i_c_k_s
- _t_i_c_k_s is a signed 64-bit value to be stored in the ssssppppiiii____ssssuuuubbbbttttiiiimmmmeeee field
- of the service provider information.
-
- ----eeeexxxxeeeeccccttttiiiimmmmeeee _t_i_c_k_s
- _t_i_c_k_s is a signed 64-bit value to be stored in the ssssppppiiii____eeeexxxxeeeeccccttttiiiimmmmeeee
- field of the service provider information.
-
- ----wwwwaaaaiiiittttttttiiiimmmmeeee _t_i_c_k_s
- _t_i_c_k_s is a signed 64-bit value to be stored in the ssssppppiiii____wwwwaaaaiiiittttttttiiiimmmmeeee
- field of the service provider information.
-
- NNNNOOOOTTTTEEEESSSS
- Extended accounting is not generally enabled in IRIX by default. See
- _e_x_t_a_c_c_t(5) for more details on using extended accounting.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- arsctl(2), arsop(2), array_sessions(5), extacct(5).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 5555
-
-
-
-